<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
  PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1"><title id="do20941">END</title><body><p id="sql_command_desc">Commits the current transaction.</p><section id="section2"><title>Synopsis</title><codeblock id="sql_command_synopsis">END [WORK | TRANSACTION]</codeblock></section><section id="section3"><title>Description</title><p><codeph>END</codeph> commits the current transaction. All changes made by the transaction become
        visible to others and are guaranteed to be durable if a crash occurs. This command is a
        Greenplum Database extension that is equivalent to <codeph><xref href="COMMIT.xml#topic1"
            type="topic" format="dita"/></codeph>.</p></section><section id="section4"><title>Parameters</title><parml><plentry><pt>WORK</pt><pt>TRANSACTION</pt><pd>Optional keywords. They have no effect.</pd></plentry></parml></section><section id="section5"><title>Examples</title><p>Commit the current transaction:</p><codeblock>END;</codeblock></section><section id="section6"><title>Compatibility</title><p><codeph>END</codeph> is a Greenplum Database extension that provides functionality equivalent to
            <codeph><xref href="COMMIT.xml#topic1" type="topic" format="dita"/></codeph>, which is
        specified in the SQL standard. </p></section><section id="section7"><title>See Also</title><p><codeph><xref href="BEGIN.xml#topic1" type="topic" format="dita"/></codeph>, <codeph><xref
            href="./ROLLBACK.xml#topic1" type="topic" format="dita"/></codeph>, <codeph><xref
            href="COMMIT.xml#topic1" type="topic" format="dita"/></codeph></p></section></body></topic>